@layout("/common/_form.html",{js:["/assets/system/menu/menu_edit.js","/assets/system/sys-common.js"]}){
<style>
    .layui-form-item .layui-inline {
        margin-bottom: 5px;
        margin-right: 0px;
    }
</style>
<form class="layui-form layui-form-pane" id="menuForm" lay-filter="menuForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="menuId" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input name="name" placeholder="请输入名称" type="text" class="layui-input" lay-verify="required" >
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">菜单编号<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input name="code" placeholder="请输入菜单编号" type="text" class="layui-input" lay-verify="required" readonly/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">父级<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="pid" name="pid" type="hidden">
                            <input id="pcodeName" name="pcodeName" placeholder="请输入父级" type="text" class="layui-input" autocomplete="off" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">请求地址<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="url" name="url" placeholder="请输入请求地址" type="text" class="layui-input" lay-verify="required"  autocomplete="off"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">是否是菜单<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input type="radio" name="menuFlag" value="Y" title="是" checked/>
                            <input type="radio" name="menuFlag" value="N" title="不是"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">排序<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input name="sort" placeholder="请输入排序" type="text" lay-verify="required"   class="layui-input"/>
                        </div>
                    </div>


                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">系统分类<span style="color: red;">*</span></label>
                        <div class="layui-input-block" >
                            <input name="systemType" id="systemType"   lay-filter="required" type="text" class="layui-input" value="center"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label" >图标</label>
                        <div class="layui-input-block">
                            <input name="icon" id="icon" placeholder="请输入图标" lay-filter="iconPicker" type="text" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">状态<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input type="radio" name="status" value="ENABLE" title="启用" checked/>
                            <input type="radio" name="status" value="DISABLE" title="禁用"/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center" style="z-index: 200">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">取消</button>
    </div>

</form>

@}
